/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package metricmaster.gui.raw;

import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.ListSelectionModel;

/**
 *
 * @author markblanda
 */
public class RawTabPanel extends JPanel {
    private RawLaborTableModel rawTableModel;
    private JTable rawLaborTable;
    private JScrollPane scrollPane;
    
    public RawTabPanel() {
        setName("Raw Labor");
        rawTableModel = new RawLaborTableModel();
        rawLaborTable = new JTable(rawTableModel);
        rawLaborTable.setPreferredScrollableViewportSize(new Dimension(825, 480));
        rawLaborTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        rawLaborTable.setShowGrid(true);
        rawLaborTable.setGridColor(Color.BLACK);
        scrollPane = new JScrollPane(rawLaborTable);
        this.add(scrollPane);
        
    }
}
